imx: clock support enet2 anatop clock support
authorPeng Fan <[email protected]>
Wed, 12 Aug 2015 09:46:50 +0000 (17:46 +0800)
committerStefano Babic <[email protected]>
Wed, 2 Sep 2015 13:29:14 +0000 (15:29 +0200)
commit6d97dc10a81062a787fcf5e5df7b88d1ea122a64
treea817e1d0a39138fcaed73168422db7b83aa80eff
parentfc684e87a1d1342cecbaf68ad8690482e4baff76
imx: clock support enet2 anatop clock support

To i.MX6SX/UL, two ethernet interfaces are supported.
Add ENET2 clock support:
1. Introduce a new input parameter "fec_id", only 0 and 1 are allowed.
   To value 1, only i.MX6SX/UL can pass the check.
2. Modify board code who use this api to follow new api prototype.

Signed-off-by: Peng Fan <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Nikolaos Pasaloukos <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/include/asm/arch-mx6/clock.h
arch/arm/include/asm/arch-mx6/crm_regs.h
board/aristainetos/aristainetos-v1.c
board/barco/platinum/platinum_picon.c
board/freescale/mx6qsabreauto/mx6qsabreauto.c
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx6sxsabresd/mx6sxsabresd.c
board/solidrun/mx6cuboxi/mx6cuboxi.c